<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var obj = {
            name:"老王",
            age:18,
            run:function(a,b,c){
                console.log(a,b,c);
                console.log(this.name+'跑了');
            }
        }


        var obj2 = {
            name:"小李",
            age:18,
        }

        // obj.run()

        // obj.run.call(obj2,1,2,3)
        // obj.run.apply(obj2,[1,2,3])
        // obj.run.bind(obj2)(4,5,6) //√
        // obj.run.bind(obj2,7,8,9)()


    </script>
</body>
</html>